<!DOCTYPE html>
<meta charset="UTF-8">
<table>
	<tr>
		<td>onChange事件</td>
		<td>
			<input data-type="numberbox" required
				data-defs="
			border:true,
			onChange: function(value){
				$('#vv').text(value);
			}">
		</td>
		<td>
			输入的值: <span id="vv"></span>
		</td>
	</tr>
	<tr>
		<td>逗号分隔组</td>
		<td>
			<input data-type="numberbox" value="1234567.89" data-defs="border:true,precision:2,groupSeparator:','"></input>
		</td>
	</tr>
	<tr>
		<td>空格分隔组，逗号分隔小数</td>
		<td>
			<input data-type="numberbox" value="1234567.89"
				data-defs="border:true,precision:2,groupSeparator:' ',decimalSeparator:','"></input>
		</td>
	</tr>
	<tr>
		<td>逗号分隔组，点分隔小数,前缀为$</td>
		<td>
			<input data-type="numberbox" value="1234567.89"
				data-defs="border:true,precision:2,groupSeparator:',',decimalSeparator:'.',prefix:'$'"></input>
		</td>
	</tr>
	<tr>
		<td>空格分隔组，逗号分隔小数,后缀 €</td>
		<td>
			<input data-type="numberbox" value="1234567.89"
				data-defs="border:true,precision:2,groupSeparator:' ',decimalSeparator:',',suffix:' €'"></input>
		</td>
	</tr>
	<tr>
		<td>设置范围</td>
		<td>
			<input data-type="numberbox" data-defs="border:true,min:10,max:90,precision:2,required:true">
		</td>
	</tr>
</table>
